import request from '@/utils/request';

export function register(data) {
  return request({
    url: '/api/register',
    method: 'post',
    data,
  });
}

export default {
  register,
};
